export const userRules = [
  { required: true, message: "请填写账号" },
  {
    pattern: /^[\u4E00-\u9FA5A-Za-z0-9]{2,20}$/,
    message: "账号不合规范",
  },
];

export const pwdRules = [
  { required: true, message: "请填写密码" },
  { pattern: /^\w{5,17}$/, message: "密码格式不正确" },
];
